home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group93b.txt / 000058_icon-group-sender _Thu Apr 29 19:18:22 1993.msg < prev    next >
Internet Message Format  |  1993-06-16  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Tue, 4 May 1993 20:13:36 MST
  2. Date: 29 Apr 93 19:18:22 GMT
  3. From: att!att-out!walter!flaubert!norman@ucbvax.Berkeley.EDU  (Norman Ramsey)
  4. Organization: Bellcore
  5. Subject: Re: OS/2 & Icon (was Lack of robustness in 32-bit DOS version)
  6. Message-Id: <1993Apr29.191822.6542@walter.bellcore.com>
  7. References: <51238.perin@cumc.cornell.edu>
  8. Sender: icon-group-request@cs.arizona.edu
  9. To: icon-group@cs.arizona.edu
  10. Status: R
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12.  
  13. In article <51238.perin@cumc.cornell.edu> perin@cumc.cornell.edu writes:
  14. >This isn't a newsgroup for literate programming, so I won't rant on, but
  15. >since I'm on the subject allow me to raise an LP-related issue in Icon
  16. >that's nagged at me for a while.  It would be much easier to debug a
  17. >literate Icon program if the language had a locution akin to the C #line
  18. >preprocessor directive, i.e. a way of identifying from where in which source
  19. >file a given chunk of code came.  
  20.  
  21. Icon (at least the Unix implementation thereof) does support this
  22. notation. I use the following code in noweb:
  23.     notangle -L'#line %-1L "%F"%N' foo.nw > foo.icn
  24.  
  25. Norman
  26.